//
//  ViewController.m
//  MWOCAVDemo
//
//  Created by jinbang.li on 2024/3/2.
//
/**
 AVSTSE
 AVSTSC
 AVOCSE
 AVOCSC
 AV: Audio Video
 OC:Objective-C
 ST:Swift
 SC:Static Library
 SE:Share Library
 */
#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self addBtn];
}
- (void)addBtn{
    self.view.backgroundColor = UIColor.whiteColor;
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.frame = CGRectMake(self.view.center.x-50, self.view.center.y-50, 100, 100);
    [btn setTitle:@"测试" forState:UIControlStateNormal];
    btn.backgroundColor = UIColor.redColor;
    [btn addTarget:self action:@selector(btnAct:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btn];
}
- (void)btnAct:(UIButton *)sender{
    
}

@end
